﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace myBoard.Framework
{
    public interface IMagnetEvents
    {
        /// <summary>
        /// Occurs when a magnet is being dragged by the user
        /// </summary>
        /// <param name="newLocation">New coordinates of the magnet</param>
        void OnLocationChanged(Point newLocation);
        /// <summary>
        /// Occurs when the user hides myBoard
        /// </summary>
        void OnMyBoardHide();
        /// <summary>
        /// Occurs when the user show/activate myBoard
        /// </summary>
        void OnMyBoardShow();
        /// <summary>
        /// Occurs when the hides myBoard animation is completed
        /// </summary>
        void OnMyBoardHideCompleted();
        /// <summary>
        /// Occurs when the show/activate myBoard animation is
        /// </summary>
        void OnMyBoardShowCompleted();

    }
}
